:root {
    /* --color-bg: rgb(42, 50, 80); */
    --color-bg: rgb(237, 239, 243);
    --color-dark: #43506c;
    --color-normal: #3d619b;
    --color-placeholder: #bac4da;
    --color-strong: #ef4b4c;
    --color-light: #e9e9eb;
    --color-border: rgb(231,234,246);
}

body {
    /* padding: 40px 10% 0 10%; */
    margin: 0;
    text-align: center;
    font: -apple-system,SF UI Display,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;
    background-color: var(--color-bg);
}

.head {
    padding: 5% 5% 0 5%;
}
.main_content {
    padding: 0 5%;
}

input {
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: 9px;
    padding: 0 20px;
    font-size: 1em;
    background-color: #fff;
    -webkit-appearance: none;
}
input::placeholder {
    color: var(--color-placeholder);
}

.mainPage {
    margin-top: 15%;
    padding: 0 5%;
}
.mainPage h1 {
    padding: 0;
    margin: 0 0 30px 0;
    font-size: 4.2em;
    color: var(--color-normal);
}
.mainPage .search {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    height: 45px;
    padding: 0 10px;
}

[cloak] {
    display: none;
}

.search {
    text-align: left;
}
.search input {
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    /* line-height: normal; */
}

.results {
    margin-top: 50px;
}
.results ul {
    list-style: none;
    padding: 0;
}
.results .item {
    padding: 0;
    margin: 40px 0 0 0;
    text-align: left;
    height: 90px;
    /* border: 1px solid#000; */
    border-radius: 9px;
    /* box-shadow: 2px 3px 4px #000; */
    background-color: #fff;
    cursor: pointer;
}
.results .poster {
    float: left;
    height: 100px;
    margin-top: -20px;
    margin-left: 10px;
}
.results img {
    float: left;
    width: 80px;
    height: 100px;
    object-fit: cover;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 2px 3px #333;
}
.results .channel {
    float: right;
    position: relative;
    top: 0;
    right: 18px;
    width: 18px;
    color:#fff;
    background-color:rgb(14, 111, 254);
    text-align: center;
    font-size: 10px;
    border-radius: 0 6px 0 6px;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
}
.results .prompt {
    display: inline-block;
    vertical-align: top;
    margin-left: -5px;
    padding-top: 6px;
}
.results .prompt_pc {
    max-width: 70%;
}
.results .prompt_mobile {
    max-width: 250px;
}
.results .cnname {
    font-size: 1em;
    font-weight: bold;
    color: #2f2f2f;
    margin-bottom: 2px;
}
.results .enname {
    font-size: 0.6em;
    color: #999;
    font-style: italic;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.results .status {
    font-style: italic;
    font-size: .6em;
    color: #999;
}

.detail .info {
    display: flex;
    color: #fff;
    text-align: left;
    height: 90px;
    line-height: 60px;
    padding: 30px 25px 0 25px;
}
.detail .info .poster {
    height: 60px;
}
.detail .info .poster img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 30px;
}
.detail .info .name {
    height: 60px;
    margin-left: 15px;
    font-size: 1.1em;
    font-weight: lighter;
    color: var(--color-normal);
}

.seasons {
    text-align: left;
    padding: 0 5%;
}
.seasons .season {
    border: 0;
    border-radius: 9px;
    padding: 0 0 1px 0;
    background-color:#fff;
    color: var(--color-normal);
    margin: 35px 0 0 0;
}
.seasons .season_name {
    font-size: 1.8em;
    position: relative;
    top: -18px;
    left: 15px;
    text-decoration: underline;
    text-underline-offset: 9px;
}
.seasons .episodes {
    list-style: circle;
    padding: 0 0 0 30px;
    margin: 0;
}
.seasons .episodes li {
    margin: 0 0 12px 0;
    height: 2em;
    line-height: 2em;
    padding-right: 10px;
}
.seasons .episode_name {
    font-style: italic;
    font-weight: lighter;
    font-size: .9em;
}
.seasons .episodes .files {
    display: inline-block;
    float: right;
    height: 2em;
}
.seasons .episodes .files button {
    background-color:var(--color-light);
    color: var(--color-normal);
    border: 0;
    border-radius: 5px;
    padding: 4px 0;
    margin: 0 6px;
    min-width: 70px;
    height: 2em;
    cursor: pointer;
}